<!DOCTYPE html>
<html>
<head>
    <title>CSS UI box-sizing: Test for box-sizing: padding-box</title>
    <link rel="author" title="Hiromi Hayashi" href="mailto:hayashih@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/2012/WD-css3-ui-20120117/#box-sizing0">
    <link rel="match" href="padding-box-001-ref.html">
    <meta name="flags" content="">
    <meta name="assert" content="box-sizing with padding-box sets the width and height of the element so that is takes padding widths into account.">
    <style type="text/css">
 
       .background {
           box-sizing: padding-box;
           width: 200px;
           height: 200px;
           padding: 20px;
           background-color: red;
           position:absolute;
           top: 50px;
           left: 10px;
       }
       .forward{
           width: 200px;
           height: 200px;
           background-color: green;
           position:absolute;
           top: 50px;
           left: 10px;
       }
    </style>
</head>
<body>
    <p>The test passes if there is a green box.</p>
    <div class="background"></div>
    <div class="forward"></div>    
</body>
</html>
